//
//  TabBarViewController.m
//  TravelYo
//
//  Created by lanou3g on 15/10/27.
//  Copyright © 2015年 TravelYo. All rights reserved.
//

#import "TabBarViewController.h"

@interface TabBarViewController ()

@end

@implementation TabBarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    
    
    
    self.tabBar.barStyle = UIBarStyleBlack;
    NSArray *array = self.viewControllers;
    for (UINavigationController *viewC in array) {
      UIImage *image =  viewC.tabBarItem.selectedImage;
     image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
     viewC.tabBarItem.selectedImage = image;
     [viewC.tabBarItem setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:kMainColor,NSForegroundColorAttributeName, nil] forState:UIControlStateNormal];
        viewC.navigationBar.tintColor = [UIColor blackColor];
        // viewC.navigationBar.backgroundColor = kMainColor;

    }
    

    
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
